package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 费用
 *
 */
@TableName(value = "fee")
public class Fee implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Fee> createExample(){
		return new Example<Fee>(Fee.class);
	}

	/**  */
	@TableId(value = "fee_id")
	private Long feeId;

	/**  */
	@TableField(value = "main_account_id")
	private Long mainAccountId;

	/** 发生金额 */
	private BigDecimal amount;

	/** 备注 */
	private String remark;

	/** 状态 0:初始 1:审核通过 2:审核失败  */
	private Integer status;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;


	/**  */
	@TableField(value = "receiver_main_account_id")
	private Long receiverMainAccountId;

	/** 多个tag分号隔开 */
	@TableField(value = "receiver_main_account_name")
	private String receiverMainAccountName;

	/** 分类名称 */
	@TableField(value = "fee_category_name")
	private String feeCategoryName;

	/**  */
	@TableField(value = "fee_category_id")
	private Long feeCategoryId;

	/** 分摊开始时间 */
	@TableField(value = "share_start")
	private Date shareStart;

	/** 分摊结束时间 */
	@TableField(value = "share_end")
	private Date shareEnd;

	/** 分摊状态 0:未分摊 1:已分摊 */
	@TableField(value = "share_status")
	private Integer shareStatus;

	/** 已分摊金额 */
	@TableField(value = "shared_amount")
	private BigDecimal sharedAmount;

	/** 分摊主体,道号分隔 */
	@TableField(value = "share_main_account_ids")
	private String shareMainAccountIds;

	/** 分摊主体,道号分隔 */
	@TableField(value = "share_main_account_names")
	private String shareMainAccountNames;

	/** 业务id */
	@TableField("bus_id")
	private Long busId ;

	public Long getFeeId() {
		return this.feeId;
	}

	public void setFeeId(Long feeId) {
		this.feeId = feeId;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getReceiverMainAccountId() {
		return this.receiverMainAccountId;
	}

	public void setReceiverMainAccountId(Long receiverMainAccountId) {
		this.receiverMainAccountId = receiverMainAccountId;
	}

	public String getReceiverMainAccountName() {
		return this.receiverMainAccountName;
	}

	public void setReceiverMainAccountName(String receiverMainAccountName) {
		this.receiverMainAccountName = receiverMainAccountName;
	}

	public String getFeeCategoryName() {
		return this.feeCategoryName;
	}

	public void setFeeCategoryName(String feeCategoryName) {
		this.feeCategoryName = feeCategoryName;
	}

	public Long getFeeCategoryId() {
		return this.feeCategoryId;
	}

	public void setFeeCategoryId(Long feeCategoryId) {
		this.feeCategoryId = feeCategoryId;
	}

	public Date getShareStart() {
		return this.shareStart;
	}

	public void setShareStart(Date shareStart) {
		this.shareStart = shareStart;
	}

	public Date getShareEnd() {
		return this.shareEnd;
	}

	public void setShareEnd(Date shareEnd) {
		this.shareEnd = shareEnd;
	}

	public Integer getShareStatus() {
		return this.shareStatus;
	}

	public void setShareStatus(Integer shareStatus) {
		this.shareStatus = shareStatus;
	}

	public BigDecimal getSharedAmount() {
		return this.sharedAmount;
	}

	public void setSharedAmount(BigDecimal sharedAmount) {
		this.sharedAmount = sharedAmount;
	}

	public String getShareMainAccountIds() {
		return this.shareMainAccountIds;
	}

	public void setShareMainAccountIds(String shareMainAccountIds) {
		this.shareMainAccountIds = shareMainAccountIds;
	}

	public String getShareMainAccountNames() {
		return this.shareMainAccountNames;
	}

	public void setShareMainAccountNames(String shareMainAccountNames) {
		this.shareMainAccountNames = shareMainAccountNames;
	}

	public Long getBusId() {
		return busId;
	}

	public void setBusId(Long busId) {
		this.busId = busId;
	}
}
